package cn.edu.lzzy.mypractices.service;

import cn.edu.lzzy.mypractices.constant.Messages;
import cn.edu.lzzy.mypractices.entity.Result;
import cn.edu.lzzy.mypractices.entity.User;

import java.util.List;
import java.util.UUID;

public interface ResultService {
    public List<Result> getAllByQuestionId(UUID questionId);

    public Result answerQuestion(Result result);

    public int getScore(UUID userId, UUID chapterId);

    public List<User> getAllAnsweredRightUsers(UUID optionId);

    public int getAnswerResult(UUID userId, UUID questionId);
}
